<!DOCTYPE html>
<html>
<head>
<title>JwsCms内容管理系统</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="__CSS__/style.css" />
<script src="__STATIC__/js/jquery-1.7.2.min.js"></script> 

</head>
<body>

  <div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">数据表</a></li>
    <li><a href="#">基本内容</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    <form action="{:U('index')}" method="post" >   
    <div class="tools">

    标题：<input type="text" name="title" class="dfinput" value="" style="width:150px;"/>
栏目：
    <select name="channel"  class="dfinput" style="width:150px;">
     <option value="">--请选择--</option>
      <volist name="channelList" id="vo">
        <option value="{$vo.id}" <if condition="$info['channel'] eq $vo['id']">selected</if> >{$vo.title}</option>
          <volist name="vo.child" id="c">
          <option value="{$c.id}" <if condition="$info['parent'] eq $c['id']">selected</if> >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$c.title}</option>
          </volist>
      </volist>
    </select>&nbsp;&nbsp;&nbsp;&nbsp;<button class="btn-default" type="submit">搜索</button>&nbsp;&nbsp;&nbsp;&nbsp;<a href="{:U('Edit')}" class="btn-default">添加</a>

    </div>
    </form>
     <table class="tablelist">
          <thead>
            <tr>
              <th width="92">ID</th>
              <th width="80">排序</th>
              <th>标题</th>
              <th>访问量</th>
              <th width="150">状态</th>
              <th width="150">用户</th>
              <th width="150">时间</th>
              <th width="200">操作</th>
            </tr>
          </thead>
          <tbody>
            <volist name="list" id="vo">
              <tr>
                <td>{$vo.id}</td>
                <td><input type="text"  name="sort[]"  size="2" class="input-sort" value="{$vo.sort}" /></td>
                <td ><font color="#1daeef">[{$vo.name}]</font>{$vo.title}</td>
                <td align='center'>{$vo.hits}</td>
                <td align="center"><if condition="$vo['status']">开启<else/>关闭</if></td>
                <td align='center'>{$vo.username}</td>
                <td align="center">{$vo.createtime|date='Y-m-d',###}</td>
                <td align="center"><a href="__MODULE__/Article/edit/id/{$vo.id}" title="编辑" class="edit"></a><a href="__MODULE__/Article/del/id/{$vo.id}" title="删除" class="del"></a></td>
              </tr>
            </volist>

          </tbody>
        </table>
        <div class="page">
          {$page}  
        </div>
          
    </div>
  <script type="text/javascript">
    $('.tablelist tbody tr:odd').addClass('odd');
    </script>
</body>
</html>









